export default [
  {
    path: '/project/template/preview',
    component: (resolve) => require(['@/views/project/template/preview.vue'], resolve)
  },
  {
    path: '/project/public/result',
    meta: {requireLogin: false},
    component: (resolve) => require(['@/views/form/statistics/public'], resolve)
  },
  {
    path: '/project/public/data',
    meta: {requireLogin: false},
    component: (resolve) => require(['@/views/form/data/PublicData'], resolve)
  },
  {
    path: '/m/project/form/data',
    meta: {requireLogin: false},
    component: (resolve) => require(['@/views/form/data/mobile/DataIndex'], resolve)
  },
  {
    path: '/project/form/view',
    meta: {requireLogin: false},
    component: (resolve) => require(['@/views/form/preview/ProjectForm'], resolve)
  },
  {
    path: '/project/workflow/form/data',
    component: (resolve) => require(['@/views/workflow/task/process/form'], resolve)
  },
  {
    path: '/q/:key',
    meta: {requireLogin: false},
    component: (resolve) => require(['@/views/form/data/PublicQuery'], resolve)
  },
  {
    path: '/s/:key',
    meta: {requireLogin: false},
    component: () => import(/* webpackChunkName: 'root' */ '@/views/form/write')
  },
  {
    path: '/d/:key',
    component: () => import(/* webpackChunkName: 'root' */ '@/views/form/data/create.vue')
  }
]
